local cjson             = require "cjson"
local waf               = require "waf"

require "functions"

math.randomseed(tostring(ngx.time()):reverse():sub(1, 6));

local workerId = ngx.worker.id()

APPNAME = "gongzhushouhuzhan"
ngx.log(ngx.DEBUG, "APPNAME=", APPNAME)

APPVERSION = "0.0.1"
ngx.log(ngx.DEBUG, "APPVERSION=", APPVERSION)

DOUYIN_CONFIG = {
    appid = "",
    secret = ""
}

SKYNET_CONFIG = {
    ip = "127.0.0.1",
    port= 7777
}

ngx.log(ngx.DEBUG,"Init Waf")
waf.init()
